<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>我的收藏</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link
	href="//staticnew.mayi.com/resourcesWeb/css/global.css?V=201508071525"
	rel="stylesheet" type="text/css" />
<link
	href="//staticnew.mayi.com/resourcesWeb/css/PCenter.css?V=20160715"
	rel="stylesheet" type="text/css" />
<link href="//staticnew.mayi.com/resourcesWeb/css/collection.css"
	rel="stylesheet" type="text/css">


<script type="text/javascript">
	$(function() {
		var CenterTab = $('.centerTab li')
		CenterTab.each(function(e) {
			CenterTab.eq(e).click(function() {
				$(this).addClass('active').siblings().removeClass('active');
				$('.MtList').eq(e).show().siblings().hide();
				$(".discountManageUl a").removeClass("on").eq(e).addClass("on");
			});
		});
		//添加账号切换效果
		$('.add-con ul:first').show();
		$('.add-account a').each(function(e) {
			$('.add-account a').eq(e).click(function() {
				$(this).addClass('addcurrent').siblings().removeClass('addcurrent');
				$('.add-con').children('ul').eq(e).show().siblings().hide();
				return false;
			});
		});

		$('#papertype').change(function() {
			if ($(this).val() == 414) {
				$('#countryli').css('display', 'block');
				var country = $('#country').val();
				if (country == 1) {
					$('#nationli').css('display', 'block');
					//$('#locationli').css('display','block');
					$('#housetownli').css('display', 'block');
				} else {
					$('#nationli').css('display', 'none');
				}
			} else {
				$('#countryli').css('display', 'none');
				$('#nationli').css('display', 'block');
				//$('#locationli').css('display','block');
				$('#housetownli').css('display', 'block');
			}
		});

		$('#country').change(function() {
			if ($(this).val() == 1 || $(this).val() == 0) {
				$('#nationli').css('display', 'block');
				//$('#locationli').css('display','block');
				$('#housetownli').css('display', 'block');
			} else {
				$('#nationli').css('display', 'none');
				//$('#locationli').css('display','none');
				$('#housetownli').css('display', 'none');
			}
		});

		$(".discountManageUl a").click(function() {
			var Index = $(this).index();
			$(this).siblings("li").removeClass("on");
			$(this).addClass("on");
			$(".centerTab li").eq(Index).click();
		//event.stopPropagation();
		//return false;
		})

		$(".settlement_way").click(function() {
			$(".discountManageUl a").eq(1).click();
		})

		$(".discountManageUl a").eq(0).addClass("on");
	});
</script>

  </head>
  
  <body>
    <!-- Content -->
	<div class="main">
		<ul class="breadcrumb clearfix">
			<li><a href="jsp/myOrders.jsp">我是房客</a> <span class="divider">》</span></li>
			<li>我的收藏</li>
		</ul>
		<div class="personalCenter clearfix">
			<!-- Center-sidebar -->
<ul class="center-sidebar">
			<li><a   href="jsp/myOrders.jsp">订单管理<span class="ddgl" ></span></a></li>
		<li><a   href="jsp/myMassage.jsp">消息通知<span class="xxtz" ></span></a></li>
		<li><a    href="jsp/myInfo.jsp">账户管理<span class="zhgl" ></span></a></li>
		<li><a class="slideactive"   href="jsp/myCollection.jsp">我的收藏<span class="save_Li save_Li_hover" ></span></a></li>
	
</ul>
	        <!-- Center-sidebar END -->
	        <div class="centerCon">
				<ul class="centerTab">
					<li class="active">我的收藏</li>
				</ul>
				<div class="accountMt save_parent clearfix">

					<!--我的收藏页面开始-->
						<!--如果有收藏-->
					<div id='save_parent'>
					<!--如果没有收藏页面-->
					<div id='no_save'>
						您还没有收藏
					</div>
					<!--我的收藏页面结束-->		
				</div>
			</div>
		</div>
	</div>
	<!-- Content END -->
</div>	
	
	<!-- Footer -->
<script type="text/javascript" src="//staticnew.mayi.com/resourcesWeb/js/layer/layer.min.js"></script>
<script type="text/javascript" src="//staticnew.mayi.com/resourcesWeb/js/jQuery.md5.js"></script>
<script type="text/javascript" src="//staticnew.mayi.com/resourcesWeb/js/login.js"></script>

  </body>
</html>
